//程序的主入口
import 'dart:io';

import 'package:FineArt/router/route_map.gr.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:flutter_bugly/flutter_bugly.dart';
import 'package:live_plugin/live_plugin.dart';

import 'init/app_init.dart';

void main()  => FlutterBugly.postCatchedException((){
  LivePlugin.init();
  AppInit.run();
  if (Platform.isAndroid) {
    // 这一步设置状态栏颜色为透明
    SystemUiOverlayStyle systemUiOverlayStyle =
    SystemUiOverlayStyle(statusBarColor: Colors.transparent);
    SystemChrome.setSystemUIOverlayStyle(systemUiOverlayStyle);
  }
});








